<?php echo $this->Html->script(array('lib/fileupload/jquery.iframe-transport.js','lib/fileupload/jquery.fileupload.js'),array('inline'=>false))?>
<input id="fileupload" type="file" name="files[]" 
	data-url="<?php echo $this->Html->url(array('controller'=> 'images', 'action'=> 'upload')) ?>" multiple>
<script>
$(function () {
    $('#fileupload').fileupload({
        dataType: 'json',
        done: function (e, data) {
            $.each(data.result, function (index, file) {
                $('<p/>').text(file.name).appendTo(document.body);
            });
        }
    });
});
</script>